package com.gla.market.entity;

public class OrderDetail {
    private Integer id;
    private Integer number;
    private Integer order_id;
    private Integer evaluation_id;
    private Integer commodity_id;

    public OrderDetail() {
    }

    public OrderDetail(Integer id, Integer number, Integer order_id, Integer evaluation_id, Integer commodity_id) {
        this.id = id;
        this.number = number;
        this.order_id = order_id;
        this.evaluation_id = evaluation_id;
        this.commodity_id = commodity_id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }

    public Integer getEvaluation_id() {
        return evaluation_id;
    }

    public void setEvaluation_id(Integer evaluation_id) {
        this.evaluation_id = evaluation_id;
    }

    public Integer getCommodity_id() {
        return commodity_id;
    }

    public void setCommodity_id(Integer commodity_id) {
        this.commodity_id = commodity_id;
    }

    @Override
    public String toString() {
        return "OrderDetail{" +
                "id=" + id +
                ", number=" + number +
                ", order_id=" + order_id +
                ", evaluation_id=" + evaluation_id +
                ", commodity_id=" + commodity_id +
                '}';
    }
}


